<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>发现</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/faxian.css"/>
		<link rel="stylesheet" type="text/css" href="css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
	</head>
	<body>
		<div id="web">
			<!--头部start-->
			<header>
		      <a class="fl back">
				Back
			  </a>
			  <div class="selectBar fr">
					<select name="" id="">
						<option value="广州">广州</option>
						<option value="深圳">深圳</option>
					</select>
				</div>
				<div class="title">
					<p>发现</p>
				</div>
				<div class="searchBar">
					<input type="text" />
					<img src="img/fdj_06.jpg"/>
				</div>
				
			</header>
			
			<!--滚动部分-->
			<div class="session">
				<div class="sousuo">
					<div class="title">
						大家都在搜
					</div>
					<div class=" xuanxiang">
						<div class="fl cfx">寿司</div>
						<div class="fl cfx">羽毛球</div>
						<div class="fl cfx">火锅</div>
						<div class="fl cfx">游泳馆</div>
						<div class="fl cfx">电影</div>
						<div class="fl cfx">周黑鸭</div>
						<div class="fl cfx">KTV</div>
						<div class="fl cfx">肯德基</div>
					</div>
				</div>
				<div class="clearfix session1">
					<div class="fl">
					    <img src="img/rmss.jpg" class="mid"/>
						<span class="mid">热门搜索</span>
					</div>
					<div class="fr">
						<span class="mid">更多</span><img src="img/gd.jpg" class="mid"/>
					</div>
				</div>
				<div class="txhz session2">
					<div class=" txhz zbhz">
						<img src="img/rmss1.jpg" class="rmss1"/>
					</div>
					<div class=" txhz zy10">
					    <img src="img/rmss2.jpg" class=" rmss2"/>
					    <img src="img/rmss3.jpg" class=" rmss3"/>
					    <img src="img/rmss4.jpg" class=" rmss4"/>
					</div>
				</div>
				<div class="clearfix session3">
					<div class="fl">
						<img src="img/xingxing.jpg" class="mid"/>
						<span class="mid">推荐搜索</span>
					</div>
					<div class="fr">
						<span class="mid">更多</span>
						<img src="img/gd.jpg" class="mid"/>
					</div>
				</div>
				<div class="txhz session4">
					<img src="img/tjss1.jpg"/>
					<img src="img/tjss2.jpg"/>
					<img src="img/tjss3.jpg"/>
				</div>

			</div>
			
			<!--底部-->
			<footer>
				<ul>
					<li class="fl shouye"><a href="tuangou.html">
							<i class="iconfont icon-path"></i>
							<p class="wz26">首页</p>
						</a></li>
					<li class="fl"><a href="fenlei.html">
                            <i class="iconfont icon-classify"></i>
							<p class="wz26">分类</p>
						</a></li>
					<li class="fl faxian"><a href="faxian.html">
							<i class="iconfont icon-zhinanzhen"></i>
							<p class="wz26">发现</p>
						</a></li>
					<li class="fl"><a href="wode.html">
                            <i class="iconfont icon-user"></i>
							<p class="wz26">我的</p>
						</a></li>
				</ul>
			</footer>
		</div>
		
		<script>
    
        
		document.body.style.height = window.innerHeight + "px";
		
        /*动态改变根元素字体大小*/
        function recalc() {
            var clientWidth = document.documentElement.clientWidth;
            if(!clientWidth) return;
            document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';
                                        // 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
        }

        function initRecalc() {
            recalc();
            var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
            if(!document.addEventListener) return;
            window.addEventListener(resizeEvt, recalc, false);
            document.addEventListener('DOMContentLoaded', recalc, false);
        }
        initRecalc();
    
    
    
    </script>
	</body>
</html>
